c program to calculate compound interest